package com.ibeetl.cms.entity;

import com.ibeetl.admin.core.entity.BaseEntity;
import com.ibeetl.admin.core.util.ValidateConfig;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import javax.validation.constraints.NotNull;
import java.util.Date;


/* 
* 
* gen by Spring Boot2 Admin 2021-03-27
* 文章标签
* 由字典表定义文章标签
*/
public class CmsArticleTag extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Long id ;
	

    private Long articleId ;
	

    private Long dictId ;
    private Date createTime;
    public CmsArticleTag(){
    }

    public Long getId(){
        return  id;
    }
    public void setId(Long id){
        this.id = id;
    }

    public Long getArticleId(){
        return  articleId;
    }
    public void setArticleId(Long articleId){
        this.articleId = articleId;
    }

    public Long getDictId(){
        return  dictId;
    }
    public void setDictId(Long dictId){
        this.dictId = dictId;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
